Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#28: Check email validity when linking existing PNID #130

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

JohnodonCode
Copy link

@JohnodonCode JohnodonCode commented Jan 6, 2025

Resolves: #28

Changes:

This commit adds a check after the username/password check to ensure the submitted email matches the user's email.

The error code (022-2613 / 1105 in source code) is correct for any case where username/password/email are incorrect according to Nintendo.

This commit adds a check after the username/password check to ensure the submitted email matches the user's email. 

Fixes: PretendoNetwork#28
@JohnodonCode JohnodonCode changed the title Check email validity when linking existing PNID #28: Check email validity when linking existing PNID Jan 6, 2025
this didn't make it into the original commit somehow
@JohnodonCode JohnodonCode marked this pull request as draft January 6, 2025 20:29
middleware is used outside of initial link, so skip checking email if email header is not set
@JohnodonCode JohnodonCode marked this pull request as ready for review January 6, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant